Self-configuring communication network

ABSTRACT

Methods for configuring, maintaining connectivity in and utilizing an ATM network. Neighboring switches share topology information and enable links to neighboring switches for tag switching. Point-to-point tagged virtual connections are established between switches on the best and next-best paths learned from topology information. Point-to-multipoint tagged virtual connections are established on the spanning tree path. Multiple tag allocation requests are included in a single message to preserve bandwidth. Next-best paths are established to reduce latency in event of link failure. Forwarding operations may be performed in hardware to reduce latency during message forwarding.

This application is a continuation of patent application No. 09/475,623, which is a continuation of patent application No. 08/823,078, now U.S. Pat. No. 6,041,07.

FIELD OF THE INVENTION

The present invention relates to data communication networks. More particularly, the present invention relates to methods for configuring, maintaining connectivity in and utilizing an ATM network.

BACKGROUND OF THE INVENTION

A local area network (LAN) segment is a computer sub-network which includes multiple stations in the same physical area communicating by forwarding messages on a shared LAN media. Stations on different LAN segments in the same physical area often communicate through a shared LAN switching fabric, which selectively forwards messages received over the fabric to the destination LAN segment. Stations on different LAN segments in different physical areas, in contrast, often communicate over a backbone network which interconnects multiple LAN switches on the edge of the network. In such an arrangement, each LAN switch selectively forwards messages received over the backbone network to the destination LAN segment.

Communication on LAN segments, and communication between LAN segments over LAN switches, is broadcast-oriented. A station desiring to communicate with another station on the same LAN segment does not need to know where the destination station is located on the segment. Instead, the source station relies on the broadcast capability of the LAN media to propagate all messages to all stations on the segment. An interface on the intended destination station captures the message. Other interfaces on the segment ignore the message. Similarly, if a message propagated on a LAN segment is destined for a station on a different LAN segment associated with the same LAN switch, the LAN switch interconnecting the two segments will typically capture and propagate the message on a switching fabric connecting the two segments. In turn, an interface on the LAN switch associated with the intended destination LAN segment captures and propagates the message on the segment. Other interfaces on the LAN switch ignore the message. Again, there is no requirement that the source station know where the intended destination station resides within the network for successful communication. Rather, communication between the stations on different LAN segments over the LAN switch is “seamless” because the stations can communicate as if they are on the same LAN segment.

In contrast, communication over backbone networks is not always broadcast-oriented. One widely-used backbone technology is asynchronous transfer mode (ATM). Communicating over an ATM network requires that point-to-point or point-to-multipoint virtual connections be established between switches on the edge of the network. Thus, it is necessary for complete connectivity in ATM backbone networks to configure every source switch with virtual connections to every destination switch. Such configuration has generally required either manual configuration by a network administrator or implementation of ATM signaling procedures. Additional configuration has been required to maintain connectivity in the event an established link fails. As a result of these configuration and maintenance requirements, performance of ATM backbone networks has been hindered.

ATM's configuration demands have become even greater with the advent of virtual local area networks (VLANs). A VLAN is an aggregate of LAN segments which are part of the same logical group, but not necessarily the same physical group. By limiting the flow of messages across VLAN boundaries in an ATM network, VLANs can conserve network bandwidth and enhance network security. However, VLANs can at the same time lessen network robustness by requiring configuration of additional overlay virtual connections.

Robustness problems in ATM networks have been further exacerbated by using configuration services which by necessity or design give microprocessors, rather than custom logic, a primary role in message forwarding.

Accordingly, there is a need for more efficient services for configuring and maintaining connectivity in ATM networks.

SUMMARY OF THE INVENTION

It is an object of the present invention to provide an improved ATM network in which virtual connections are self-configuring.

It is another object of the present invention to provide an improved ATM network in which multiple requests for virtual connections can be made in a single message.

It is another object of the present invention to provide an improved ATM network in which a first set of virtual connections are self-configuring along a best path.

It is another object of the present invention to provide improved ATM network in which a second set of virtual connections are self-configuring along a next-best path.

It is another object of the present invention to provide an improved ATM network which can support multiple VLANs.

It is another object of the present invention to provide an improved ATM network in which message forwarding is carried out primarily in custom logic.

These and other objects of the present invention are achieved by methods for configuring and utilizing tagged virtual connections between source and destination switches on the edge of an ATM network.

In one aspect of the invention, neighboring switches share topology information. Topology information includes switch identifying information and path cost information. Switch identifying information includes switch identifiers and VLAN information for particular switches. Path cost information includes information about the relative cost of using particular paths to reach particular switches. Topology information is shared by neighboring switches via topology messages. As a result of topology learning, switches learn about other switches and the most efficient paths for forwarding end-user messages to particular switches.

In another aspect of the invention, neighboring switches enable links for tag switching. Link enablement is requested by forwarding hello requests. Hello requests include a range of tag values proposed for use on a particular link. Link enablement is established by forwarding hello responses. Hello responses include a positive or negative acknowledgment of a hello request. As a result of link enablement, switches learn the available links for use when requesting tagged virtual connections for forwarding end-user messages.

In another aspect of the invention, edge switches and combination switches, as source switches, initiate requests for point-to-point tagged virtual connections to one another, as destination switches. Requests for point-to-point tagged virtual connections are initiated by forwarding a tag allocation request to a neighboring switch along the best path to a destination switch. Tag allocation requests include allocation information, including a source switch identifier, a destination switch identifier and a tag value. Source switches initiate a request for each destination switch for each shared VLAN. Multiple requests may be included in a single tag allocation message to conserve network bandwidth. Transit and combination switches, as neighboring switches, respond to each tag allocation request received by relaying a related tag allocation request to another neighboring switch, if any, along the best path to the destination switch. The relay process is repeated until a tag allocation request arrives at the destination switch. Switches select a different outbound tag value for each requested point-to-point virtual connection so that when an end-user message encoded with a particular tag value is subsequently presented for forwarding, the switch will be able to associate the message with a distinct virtual connection between a particular source and destination switch. As a result of point-to-point tag allocation, a full mesh of point-to-point virtual connections is established for forwarding known unicast end-user messages from source switches to destination switches using a simple look-up operation which resolves identifiers encoded in such messages to outbound ATM ports and outbound tags.

In another aspect of the invention, edge switches and combination switches, as source switches, initiate requests for point-to-multipoint tagged virtual connections to one another, as destination switches. Requests for point-to-multipoint tagged virtual connections are initiated by forwarding a set of tag allocation requests to a set of neighboring switches along the spanning tree path to the set of destination switches sharing a VLAN with a source switch. Tag allocation requests include allocation information, including a source switch identifier, an identifier of the shared VLAN and a tag value. Source switches initiate a request for each shared VLAN. Each point-to-multipoint tag allocation request is relayed by transit and combination switches, as neighboring switches, until a set of tag allocation requests arrives at the set of destination switches. As a result of point-to-multipoint tag allocation, a full mesh of point-to-multipoint virtual connections is established for forwarding broadcast, multicast and unknown unicast end-user messages from source switches to destination switches sharing a particular VLAN by performing a simple look-up operation using custom logic which resolves identifiers encoded in such messages to outbound ATM ports and outbound tags.

In another aspect of the invention, end-user messages are forwarded from source switches to destination switches on the established point-to-point tagged virtual connections. On source switches, a destination switch identifier associated with an end-user message is resolved to a forwarding ATM port identifier and a first tag value. The message is forwarded over the forwarding ATM port to a neighboring switch. The neighboring switch resolves the first tag value to a forwarding ATM port identifier and second tag value and forwards the message over the forwarding ATM port to a second neighboring switch, if any. The resolution and forwarding process is repeated by additional neighboring switches, if any, until the end-user message arrives at the destination switch. The resolution and forwarding process may be advantageously implemented in custom logic using a table look-up operation.

In another aspect of the invention, end-user messages are forwarded from source switches to destination switches on the established point-to-multipoint tagged virtual connections. On source switches, the VLAN identifier associated with an end-user message is resolved to a set of forwarding ATM port identifiers and a first set of tag values. The message is forwarded over the set of forwarding ATM ports to a set of neighboring switches. The neighboring switches resolve the first set of tag values to a set of forwarding ATM port identifiers and second set of tag values and forward the message over the set of forwarding ATM ports to a second set of neighboring switches, if any. The resolution and forwarding process is repeated by additional neighboring switches, if any, until the end-user message arrives at the set of destination switches belonging to the shared VLAN. The resolution and forwarding process may be advantageously implemented in custom logic using a table look-up operation.

In another aspect of the invention, switches, in addition to initiating and relaying requests for point-to-point virtual connections to destination switches on the best paths, initiate and relay requests for point-to-point virtual connections on the next-best paths. As a result of next-best path tag allocation, if any best path link between a source and destination switch pair becomes disabled, an end-user message can be advantageously diverted to a next-best path to the destination switch.

The present invention can be better understood by reference to the following detailed description, taken in conjunction with the accompanying drawings which are briefly described below. Of course, the actual scope of the invention is defined by the appended claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic of a communication network operating in accordance with the present invention;

FIG. 2 is a functional diagram of an edge switch operating in accordance with the present invention;

FIG. 3 is a functional diagram of a transit switch operating in accordance with the present invention;

FIG. 4 shows the general format of a topology message generated by a switch operating in accordance with the present invention;

FIG. 5 shows the general format of a hello request message generated by a switch operating in accordance with the present invention;

FIG. 6 shows the general format of a hello response message generated by a switch operating in accordance with the present invention;

FIG. 7 shows the general format of a tag allocation message generated by a switch operating in accordance with the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

Referring to FIG. 1, a computer network 1 operating in accordance with a preferred embodiment of the present invention is shown. In the illustrated embodiment, network 1 includes stations S₁, S₄, S₅ interconnected to one another over ATM cloud 60. ATM cloud is a connection-oriented medium characterized by switches and ATM links for forwarding information in fixed-length cells in accordance with governing ATM standards. Along the paths interconnecting stations S₁, S₄, S₅ are switches 10, 20, 30, 40, 50. In the illustrated embodiment, network 1 includes edge switches 10, 40, transit switches 20, 30 and combination switch 50. It will be appreciated, however, that a network operating in accordance with the present invention may include two or more edge or combination switches and any number of transit switches interconnected by two or more sets of links. Edge switches are characterized by having one or more ports associated with LAN media, such as Ethernet, Token Ring or FDDI and one or more ports associated with an ATM cloud. In the illustrated embodiment, edge switch 10 has a LAN port associated with LAN segment 14 and station S₄. Edge switch 40 has a LAN port associated with LAN segment 44 and station S₄. Edge switches 10, 40 also each have a single ATM port to ATM cloud 60. Each edge switch port is associated with one or more VLANs. Transit switches are characterized by having two or more ATM ports associated with an ATM cloud. In the illustrated embodiment, transit switches 20, 30 each have two ports to ATM cloud 60. Combination switches are characterized by having one or more LAN ports associated with LAN media and two or more ATM ports associated with an ATM cloud. In the illustrated embodiment, combination switch 50 is associated with LAN segment 54 and station S₅. Combination switch 50 also has two ATM ports to ATM cloud 60. Each combination switch port is associated with one or more VLANs. Switches 10, 20, 30, 40, 50 are each assigned a unique switch identifier and are immediately interconnected to neighboring switches by links 12, 23, 24, 25, 35. Links are preferably fiber optic or twisted pair cables supporting various bandwidths.

FIGS. 2 and 3 present functional diagrams of switches operative in accordance with a preferred embodiment of the present invention. The illustrated functionality may be implemented using any suitable logic, although a custom logic implementation is preferred where indicated below.

Referring to FIG. 2, a functional diagram of an edge switch 200 operating in accordance with a preferred embodiment of the present invention is shown. Switch 200 includes TOP ADV means 210. Means 210 serves to advertise network topology information to neighboring switches. Means 210 generates topology messages encoded with associated pairs of switch identifiers, path cost values and VLAN identifiers for switches in the network. Means 210 also periodically forwards topology messages to neighboring switches over active ATM ports of switch 200. Path cost values encoded in topology messages reflect the aggregate cost of the links which must be traversed on a particular path over switch 200 to reach a particular switch. Path costs are added upon receipt of topology messages from neighboring switches. Thus, when switch 200 advertises its own path cost information to a neighboring switch, switch 200 assigns a path cost value of “0”. When the neighboring switch advertises the information learned about switch 200, the neighboring switch assigns a path cost for switch 200 based on the bandwidth of the link on which the advertised information was received from switch 200. Topology messages are forwarded periodically on active ATM ports of switch 200.

Switch 200 also includes TOP LRN means 220. Means 220 serves to learn the topology of the network from topology information advertised by other switches. Means 220 assigns a path cost to each link on which topology messages are received, based on the bandwidth of the link. Means 220 further calculates aggregate path cost values by adding the path cost assigned to a link to the path cost value encoded in a topology message received on the link. Means 220 further associates the switch identifier and VLAN identifier in a received topology message with the aggregate path cost value and the identifier of the receiving ATM port and stores the information as an associated pair in a topology database. The topology database may be accessed using known memory access mechanisms.

Switch 200 also includes LINK ENAB means 230. Means 230 serves to determine if a neighboring switch is able to establish tagged virtual connections on a particular link. Means 230 determines from topology information whether a switch is a neighboring switch. Means 230 also associates a neighboring switch with a particular link. Means 230 further estabishes a virtual connection to the neighboring switch on the link. Means 230 also forwards on the virtual connection a hello request message encoded with a range of tag values that switch 200 proposes to use when tag switching with the neighboring switch on the link. Means 320 further determines from information encoded in a hello response message received on the link whether the neighboring switch accepts or rejects the request to enable the link for tag switching with switch 200. Switch 200 initiates a hello request message whenever switch 200 learns of a neighboring switch.

Switch 200 also includes EDGE TAG SET means 240. Means 240 serves to initiate requests for tagged point-to-point virtual connections for forwarding known unicast end-user messages. It will be appreciated that a known unicast message is a message encoded with information which switch 200 can resolve to a point-to-point tagged virtual connection to a particular destination switch. Means 240 determines from topology information whether a destination switch shares a VLAN with switch 200. Means 240 also determines from topology information the forwarding ATM port on switch 200 associated with the best path to the destination switch. Means 240 further selects a tag value within the range of values available on the forwarding link. Means 240 further generates a tag allocation message encoded with a tag allocation request. The tag allocation request includes the selected tag value, the identifier of switch 200 and the identifier of the destination switch. Means 240 further forwards the tag allocation message to a neighboring switch on the forwarding link.

Means 240 also serves to initiate requests for point-to-multipoint tagged virtual connections for forwarding broadcast, multicast and unknown unicast end-user messages. It will be appreciated that such messages are messages not encoded with information which switch 200 can resolve to a point-to-point tagged virtual connection to a particular destination switch. A point-to-multipoint tagged virtual connection is requested for each VLAN shared by switch 200. Means 240 determines a set of forwarding ATM ports on switch 200 associated with the spanning tree path to a set of destination switches for a particular VLAN. Means 240 further selects a set of tag values within the range of values available on the set of forwarding links. Means 240 further generating a set of tag allocation messages encoded with a set of tag allocation requests for the set of destination switches. Each tag allocation request includes a selected tag value, the identifier of switch 200 and the identifier of the shared VLAN. Means 240 further forwards the set of tag allocation messages to a set of neighboring switches over the set of forwarding links. The Spanning Tree Protocol (STP) running in accordance with governing IEEE standards is preferably used to determine the spanning tree path.

Means 240 also implements the foregoing procedures to initiate requests for point-to-point tagged virtual connections on the next-best path to destination switches. Means 240 further encodes multiple tag allocation requests in a single tag allocation message. Switch 200 initiates a point-to-point and a point-to-multipoint tag allocation request whenever switch 200 learns of a new VLAN shared by switch 200 and a destination switch.

Edge switch 200 also includes EDGE TAG LRN means 250. Means 250 serves to learn the tag values allocated by switch 200 for the requested tagged virtual connections. Means 250 associates a destination switch identifier with the forwarding ATM port identifier and the tag value encoded in an outbound tag allocation request for a point-to-point virtual circuit and stores the associated pair in a memory means. Means 250 also associates a set of tag values encoded in a set of outbound tag allocation requests for a point-to-multipoint virtual circuit with a set of forwarding ATM port identifiers and stores the associated pairs in a memory means.

Means 250 also serves to learn the tag values allocated by neighboring switches for the tagged virtual connections for which switch 200 is a destination switch. Means 250 associates a tag value and a source switch identifier in a received point-to-point tag allocation request and stores the associated pair in a receiving database. Means 250 also associates a tag value and a source switch identifier in a received point-to-multipoint tag allocation request and stores the associated pair in a receiving database. Receiving databases may be accessed using known memory access mechanisms. Receiving databases advantageously enable switch 200 to perform a source learning operation on incoming end-user messages by providing switch 200 with information sufficient to resolve source station addresses encoded in such messages to particular source switch identifiers. Means 250 also upon performing such a source learning operating, associates the learned source station address with a forwarding ATM port identifier and tag value previously stored in association with a particular destination switch identifier. Means 250 further stores the associated station address, forwarding ATM port identifier and tag value as a related pair in a forwarding database. Forwarding database on switch 200 may be accessed using known memory access mechanisms.

Edge switch 200 also includes EDGE MSSG FWD means 260. Means 260 serves to assign tag values to known unicast end-user messages and forward such messages along the established point-to-point tagged virtual connections. Means 260 resolves information encoded in a known unicast end-user message to a forwarding ATM port identifier and a first tag value retrieved from a forwarding database. Means 260 also encodes the message with the first tag value and forwards the message to a neighboring switch on the forwarding link. A look-up operation using custom logic is contemplated for retrieving information from the forwarding database. Custom logic may be implemented in an application-specific integrated circuit (ASIC).

Means 260 also serves to assign tag values to broadcast, multicast, and unknown unicast end-user messages and forward such messages along the established point-to-multipoint tagged virtual connections. Means 260 resolves information encoded in a broadcast, multicast or unknown unicast end-user message to a set of forwarding ATM port identifiers and a set of first tag values retrieved from a memory means. Means also copies the end-user message. Means 260 also encodes the end-user message with the set of tag values and forwards the message to a set of neighboring switches on the set of forwarding links.

Referring to FIG. 3, a functional diagram of a transit switch 300 operating in accordance with a preferred embodiment of the present invention is shown. As with edge switch 200, transit switch 300 has TOP ADV means 210, TOP LRN means 220 and LINK ENAB means 230.

Switch 300 also includes TRANS TAG SET mean means 310. Means 310 serves to relay requests for point-to-point tagged virtual connections initiated by source switches. Means 310 determines from topology information the forwarding ATM port on switch 300 associated with the best path to a destination switch. Means 310 further selects a tag value within the range of tag values available on the forwarding link. Means 310 further generates a tag allocation message encoded with a tag allocation request. Means 310 further forwards the tag allocation message to a neighboring switch on the forwarding link. Means 310 further implements the foregoing procedures to relay a request initiated by a source switch for a virtual connection on the next-best path to a destination switch. Means 310 further encodes multiple tag allocation requests in a single tag allocation message.

Means 310 also serves to relay requests for point-to-multipoint tagged virtual connections initiated by a source switch. Means 310 determines the set of forwarding ATM ports on switch 300 associated with the spanning tree path to a set of destination switches. Means 310 further selects a set of tag values within the range of values available on a set of forwarding links. Means 310 further includes means for generating a set of tag allocation messages encoded with a set of tag allocation requests. Means 310 further forwards the set of tag allocation messages to a set of neighboring switches over the set of forwarding links.

Switch 300 also includes TRANS TAG LRN means 320. Means 320 serves to learn the tag values selected by upstream neighboring switches for the requested tagged point-to-point virtual connections. Means 320 associates a tag value encoded in an inbound tag allocation request with the an identifier of a forwarding ATM port and a tag value selected for encoding in an outbound tag allocation request and stores the associated pair in a forwarding database. Means 320 also serves to learn tag values selected by upstream neighboring switches for requested point-to-multipoint virtual connections. Means 320 associates a tag value encoded in an inbound tag allocation request with an identifier of a set of forwarding ATM ports and a set of tag values selected for encoding in an outbound tag allocation request and, stores the associated pair in a forwarding database. Forwarding database on switch 300 may be accessed using known memory access mechanisms.

Switch 300 also includes TRANS MSSG FWD means 330. Means 330 serves to assign tag values to known unicast end-user messages and forward such messages along the established point-to-point virtual connections. Means 330 resolves a tag value encoded in an inbound end-user message to a forwarding ATM port identifier and an outbound tag value retrieved from a forwarding database. Means 330 also encodes an end-user message with the outbound tag value and forwards the message over the forwarding ATM port to a neighboring switch. Means 330 also serves to tag and forward messages along the established point-to-multipoint virtual connections. Means 330 resolves a tag value encoded in an inbound end-user message to a set of outbound ATM port identifiers and a set of outbound tag values retrieved from a forwarding database. Means 330 also encodes a set of end-user messages with the set of outbound tag values and forwards the set of end-user messages to a set of neighboring switches over the set of forwarding links. A look-up operation using custom logic is contemplated for retrieving information from the forwarding database. Custom logic may be implemented in an application-specific integrated circuit (ASIC).

Combination switches combine the functionality of edge switch 200 and transit switch 300 in a single switch. Thus, combination switches include TOP ADV means 210, TOP LRN means 220, LINK. ENAB means 230, EDGE TAG SET means 240, EDGE TAG LRN means 250, EDGE MSSG FWD means 260, TRANS TAG SET means 310, TRANS TAG SET means 320 and TRANS MSSG FWD means 330.

Referring to FIG. 4, the general format of a topology message 400 generated in accordance with a preferred embodiment of the present invention is shown. Message 400 includes a type field 410 encoded with a value identifying message 400 as a topology message. Message 400 includes version field 420 encoded with a value indicating the protocol version number of message 400. Different protocol numbers may be used as enhancements are made to the protocol. Message 400 also includes flags field 430 indicating whether message 400 is a flash update message. Flash update messages contain topology information not included in previous topology messages. Message 400 further includes number of blocks (NOB) field 440. NOB field 440 identifies the number of topology information blocks included in message 400. Message 400 also includes “my switch” field 450 encoded with the identifier of the switch which generated the message 400.

Topology information blocks include topology information for a particular switch. One information block is included for each switch known to the switch which generated message 400. Message 400 has first information block 460. Block 460 includes subject switch field 470 encoded with the identifier of the particular switch which is the subject of the information in block 460. Block 460 also has path cost field 472. Path cost field 472 contains a value indicating the cost to reach the subject switch over the path that message 400 was received on. Path costs are assigned to each link based on the bandwidth of the link, with larger values assigned to slower links. In a preferred embodiment, a value of “1” indicates a 100 gigabit per second link, a value of “10” indicates a 10 gigabit per second link, a value of “100” indicates a 1 gigabit per second link, a value of “1000” indicates a 100 megabit per second link, a value of “10000” indicates a 10 megabit per second link, and so on, although it will be appreciated that it is the relationship between the values rather than the actual values which is significant. Block 460 also includes number of VLANs (NOV) field 474. NOV field 474 contains a value indicating the number of VLANs active on the subject switch (and also the number of VLAN fields 476, 478 to follow NOV field 474). VLAN fields 476, 478 each contain an identifier of a VLAN active on the subject switch. It will be appreciated that message 400 may contain additional information blocks for additional switches having the same general format as block 460.

Referring to FIG. 5, the general format of a hello request message 500 generated in accordance with a preferred embodiment of the present invention is shown. Message 500 includes a type field 510 encoded with a value identifying message 500 as a hello request message. Message 500 includes version field 520 encoded with a value indicating the protocol revision number of message 500. Message 500 includes minimum tag value field 530 encoded with the lowest tag value available for use in tag switching on the link on which message 500 is forwarded. Message 500 also includes maximum tag value field 540 encoded with the largest tag value available for use in tag switching on the link on which message 500 is forwarded.

Referring to FIG. 6, the general format of a hello response message 600 generated in accordance with a preferred embodiment of the present invention is shown. Message 600 includes a type field 610 encoded with a value identifying message 600 as a hello response message. Message 600 includes version field 620 encoded with a value indicating the protocol revision number of message 600. Message 600 also includes acknowledgment field 630 encoded with a value indicating whether the switch generated message 600 will enable the link on which message 600 is forwarded for tag switching with the neighboring switch which generated the hello request message to which message 600 is responsive.

Referring to FIG. 7, the general format of a tag allocation message 700 generated in accordance with a preferred embodiment of the present invention is shown. Message 700 includes type field 710 encoded with a value identifying message 700 as a tag allocation message. Message 700 includes version field 720 encoded with a value indicating the protocol revision number of message 700. Message 700 also has a number of requests (NOR) field 730 encoded with a value indicating the number of tag allocation requests contained in message 700. Message 700 also includes one or more allocation request blocks. First request block 740 contains a type field 742 encoded with a value indicating the requested virtual connection type. Point-to-point and point-to-multipoint are the contemplated types. Request block 740 also includes a source switch field 744. Source switch field 744 is encoded with the identifier of the switch making the tag allocation request contained in the request block 740. Request block 740 also includes destination switch fie 746. For requested point-to-point virti connections, destination switch field 746 is encoded with the identifier of the destination switch. For requested point-to-multipoint virtual connections, field 746 is encoded with the identifier of the shared VLAN. Request block 740 further includes tag field 748. Tag field 748 is encoded with the tag value selected by the switch which generated message 700 for forwarding end-user messages on the requested virtual connection. Message 700 may contain additional request blocks for additional requests having the same general format as block 740.

In a preferred embodiment of the present invention, tag-switched communication over ATM network is accomplished in four steps: topology learning, link enablement, tag allocation and message forwarding.

Returning to FIG. 1, in a preferred topology learning step, switches 10, 20, 30, 40, 50 periodically forward topology messages to neighboring switches on links 12, 23, 24, 25, 35. Topology messages include switch information blocks including switch identifiers, path cost values and VLAN information for particular switches. Neighboring switches associate the information with the receiving link and store the associated pairs in their topology databases. As a result of topology learning, switches 10, 20, 30, 40, 50 learn the identity and VLAN membership and the most efficient paths for forwarding end-user messages to particular switches. The path associated with the lowest path cost to a particular switch over an enabled link is considered the best path to the particular switch. The path associated with the second lowest path cost to a particular switch over an enabled link is considered the next-best path to the particular switch.

In a preferred ink enablement step, switches 10, 20, 30, 40, 50 determine if neighboring switches are able to establish tagged virtual connections on the learned paths. Switches 10, 20, 30, 40, 50 forward hello request messages to neighboring switches on links 12, 23, 24, 25, 35. In response to hello request messages, neighboring switches forward hello response messages accepting or rejecting the requests to enable links 12, 23, 24, 25, 35 for tag switching.

In a preferred tag allocation step for point-to-point tagged virtual connections, edge switches 10, 40 and combination switch 50, as source switches, initiate requests for point-to-point virtual connections for forwarding known unicast messages to one another, as destination switches. A point-to-point tagged virtual connection is requested for each source and destination switch pair for each shared VLAN. Each tag allocation request includes the source switch identifier, the destination switch identifier and a first tag value. Each tag allocation request is forwarded to a neighboring transit or combination switch on the best path to the destination switch. The neighboring switch responds by generating a tag allocation request encoded with the source switch identifier, the destination switch identifier, and a second tag value and forwarding the request to a second neighboring switch, if any, on the best path to the destination switch. Similar messages are generated and forwarded by each additional neighboring switch, if any, on the best path, until a tag allocation request is received by the destination switch. Switches along the path of the requested point-to-point virtual connections store the tag allocation information in a memory means. On the source switch, the destination switch identifier, the forwarding ATM port identifier and the first tag value are associated and stored as an associated pair in a memory means. On each neighboring switch, the inbound tag value is associated with a forwarding ATM port identifier and outbound tag value and stored as an associated pair in a forwarding database. On the destination switch, the source switch identifier, the receiving ATM port identifier and the inbound tag value are stored as an associated pair in a receiving database.

In a more preferred tag allocation step, switches also initiate and relay requests for next-best path virtual connections to destination switches. Switches may be configured to initiate requests for next-best path virtual connections only if they are on the best path to a destination switch from the perspective of the source switch. Alternatively, switches may be configured to initiate requests for next-best path virtual connections if they are on the best or next-best path to the destination switch from the perspective of the neighboring switch from which a tag allocation request is received. Requests for next-best path virtual connections may be initiated concurrently with requests for best-path virtual connections.

In a preferred tag allocation step for point-to-multipoint tagged virtual connections, edge switches 10, 40 and combination switch 50, as source switches, initiate requests for forwarding broadcast, multicast and unknown unicast messages to one another as destination switches. A tagged point-to-multipoint virtual connection is requested for each VLAN shared by the source switch. Each source switch generates a set of tag allocation requests encoded with the identifier of the source switch, the shared VLAN identifier, and a first set of tag values. The set of tag allocation requests is forwarded to a set of neighboring transit or combination switches on the spanning tree path to the set of destination switches belonging to the shared VLAN. The set of neighboring switches responds by generating and forwarding a second set of tag allocation requests encoded with the identifier of the source switch, the shared VLAN identifier, and a second set of tag values. The set of tag allocation requests is forwarded to a second set of neighboring switches, if any, on the spanning tree path to the set of destination switches. Similar messages are generated and forwarded by additional sets of neighboring switches, if any, on the spanning tree path, until a set of tag allocation requests is received by the set of destination switches belonging to the shared VLAN. Switches along the path of the requested point-to-multipoint virtual connections store the tag allocation information in memory. On the source switch, the shared VLAN identifier, the first set of forwarding ATM port identifiers and the first set of tag values are stored as associated pairs in a memory means. On the neighboring switches, the inbound set of tag values encoded in the received tag allocation requests are associated with a set of forwarding ATM port identifiers and an outbound set of tag values and stored as associated pairs in forwarding databases. On the set of destination switches, the shared VLAN identifier, the set of receiving ATM port identifiers and the inbound set of tag values encoded in the set of received tag allocation requests are stored as associated pairs in receiving databases.

In a more preferred tag allocation step, multiple tag allocation requests are encoded in a single tag allocation message.

In a preferred message forwarding step for point-to-point tagged virtual connections, end-user messages are forwarded on the established point-to-point virtual connections. On the source switch, the destination switch identifier associated with an end-user message is resolved to a forwarding ATM port identifier and a first tag value retrieved from a memory means. The message is encoded with the first tag value and forwarded over the fowarding ATM port to a neighboring switch. The neighboring switch retrieves from a forwarding database a forwarding ATM port identifier and second tag value associated with the first tag value. The neighboring switch generates a message encoded with the second tag value and forwards the message over the forwarding ATM port to a second neighboring switch, if any. Similar messages are generated and forwarded by additional neighboring switches, if any, on the best path, until the end-user message arrives at the destination switch.

In a preferred message forwarding step for point-to-multipoint tagged virtual connections, end-user messages are forwarded on the established point-to-multipoint virtual connections. On the source switch, a broadcast, multicast or unknown unicast end-user message to be forwarded to the switches belonging to the shared VLAN is resolved to a first set of forwarding ATM port identifiers and a first set of tag values retrieved from a memory means. Copies of the message are made, as necessary, and encoded with the first set of tag values and forwarded over the first set of forwarding ports to a first set of neighboring switches. The neighboring switches retrieve from a forwarding database a second set of forwarding ATM port identifiers and a second set of tag values associated with the first set of tag values. The neighboring switches generate a second set of messages encoded with the second set of tag values and forward the messages over the second set of forwarding ATM ports to a second set of neighboring switches, if any. Similar messages are generated and forwarded by additional sets of neighboring switches, if any, on the spanning tree path, until the end-user messages arrive at the set of destination switches belonging to the shared VLAN.

It will be appreciated that prior to forwarding messages must be segmented into a series of fixed-length cells in accordance with governing ATM standards.

A preferred message forwarding step may be further illustrated by example by reference to FIG. 1. For simplicity, it will be assumed that a single VLAN is active on all switch ports in network 1. It will also be assumed that links 12, 24, 25 have a bandwidth of 100 megabits per second and that links 23, 35 have a bandwidth of 1 gigabit per second and that all links are enabled. It will further be assumed that stations S₁, S₄ and S₅, have been assigned unique media access control (MAC) addresses S₁, S₄ and S₅, respectively, and that the MAC addresses are only known to the particular switch disposed between the stations and the ATM cloud 60. Thus, addresses S₁, S₄ are unknown to switch 50, addresses S₄, S₅ are unknown to switch 10 and addresses S₁, S₅ are unknown to switch 40.

First, consider an end-user message originating on source station S₁ intended for destination station S₅. At station S₁, the message is encoded with source address s₁ and unicast destination address S₅ and propagated on LAN segment 14. The message arrives at source switch 10 due to the broadcast nature of LAN segment 14. Source switch 10, however, is unable to resolve address s₅ to a point-to-point tagged virtual connection to destination switch 50. Therefore, source switch 10 resolves the message to the point-to-multipoint tagged virtual connection associated with the active VLAN. Accordingly, value t_(v) associated with the spanning tree path to destination switches 40 and 50 is encoded in the message. The message is segmented into a series of ATM cells and forwarded on forwarding link 12 over the forwarding ATM port on source switch 10.

Upon arrival at neighboring switch 20, the tag value t_(v) encoded in the message is resolved to tag values t_(v)′ and the forwarding ATM port associated with link 23, which is on the spanning tree path to destination switches 40, 50. The message is encoded with tag value t_(v)′ and forwarded on link 23 to neighboring switch 30.

Upon arrival at neighboring switch 30, the tag value t_(v)′ encoded in the message is resolved to tag values t_(v)″, t_(v)′″ and the forwarding ATM port associated with links 24, 35, which are on the spanning tree path to destination switches 40, 50, respectively. One copy of the message is encoded with tag value t_(v)″ and forwarded on link 24 to destination switch 40. A second copy of message is encoded with tag value t_(v)′″ and forwarded on link 35 to destination switch 50. It will be appreciated that on neighboring switches 20, 30, the tag resolution process can be advantageously carried out by performing a table look-up operation using custom logic.

Upon arrival at destination switch 50, switch 50 performs a source learning operation which associates source station address s₁ with source switch 10. The source learning process results in address s₁ becoming associated in a forwarding database with a forwarding ATM port identifier and a tag value t₁ for a point-to-point tagged virtual connection to switch 10. Switch 50 also determines whether destination address s₅ is associated with a LAN segment immediately interconnected to switch 50. Because destination address s₅ is associated with LAN segment 54, the message is forwarded on LAN segment 54 and arrives at destination station S₅.

Upon arrival at destination switch 40, switch 40 performs a source learning operation which associates source station address s₁ with source switch 10. The source learning process results in address s₁ becoming associated in a forwarding database with a forwarding ATM port identifier and a tag value t₁ for a pont-to-point tagged virtual connection to switch 10.

Now consider a reply end-user message originating on source station S₅ intended for destination station S₁. At station S₅, the message is encoded with source address S₅ and unicast destination address s₁ and propagated on LAN segment 54. The message arrives at source switch 50 due to the broadcast nature of LAN segment 54. Due to the source learning operation performed on the previous end-user message, source switch 50 is able to resolve address s₁ to a point-to-point tagged virtual connection to destination switch 10. Accordingly, value t₁ associated with the best path to destination switch 10 is encoded in the message. The message is segmented into a series of ATM cells and forwarded on forwarding link 35 over the forwarding ATM port on source switch 50. It will be appreciated that the address resolution process can be carried out on source switch 50 by performing a table look-up operation using custom logic.

Upon arrival at neighboring switch 30, the tag value t₁ encoded in the message is resolved to tag values t₁′ and the forwarding ATM port associated with link 23, which is on the best path to destination switch 10. The message is encoded with tag value t₁′ and forwarded on link 23 to neighboring switch 20.

Upon arrival at neighboring switch 20, the tag value t₁′ encoded in the message is resolved to tag value t₁″ and the forwarding ATM port associated with link 12, which is on the best path to destination switch 10. The message is encoded with tag value t₁″ and forwarded on link 12 to destination switch 10.

Upon arrival at destination switch 10, switch 10 associates source station address s₅ with source switch 50. Switch 10 also determines whether the destination address s₁ is associated with a LAN segment immediately connected to switch 10. Because the destination address s₁ is associated with LAN segment 14, the message is forwarded on LAN segment 14 and arrives at destination station S₁. Custom logic look-up operations are contemplated for tag resolution on switches 30, 20, 10.

Now consider how the same reply message reaches destination switch S₁ in the event link 35 is disabled. At station S₅, the message is encoded with source address S₅ and unicast destination address s₁ and propagated on LAN segment 54. The message arrives at source switch 50 due to the broadcast nature of LAN segment 54. Due to the source learning operation performed on the previous end-user message, source switch 50 is able to resolve address s₁ to a point-to-point tagged virtual connection to destination switch 10. However, since link 35 is disabled, value t_(1nb) associated with the next-best path to destination switch 10 is encoded in the message. The message is segmented into a series of ATM cells and forwarded on forwarding link 25 over the forwarding ATM port on source switch 50.

Upon arrival at neighboring switch 20, the tag value t_(1nb) encoded in the message is resolved to tag value t_(lnb)′ and the forwarding ATM port associated with link 12, which is on the next-best path to destination switch 10. The message is encoded with tag value t_(1nb)′ and forwarded on link 12 to destination switch 10. Source learning and forwarding on destination switch 10 proceeds in the manner described above.

It will be appreciated by those of ordinary skill in the art that the invention can be embodied in other specific forms without departing from the spirit or essential character hereof. The present description is therefore considered in all respects to be illustrative and not restrictive. The scope of the invention is indicated by the appended claims, and all changes that come within the meaning and range of equivalents thereof are intended to be embraced therein. 

I claim:
 1. A method for configuring a tagged virtual connection in a communication network, said virtual connection interconnecting a first boundary device with a second boundary device via N intermediate devices, where N is a positive integer, the method comprising: (a) on a first boundary device, generating and forwarding to a first intermediate device a first tag allocation request including a logical group identifier; (b) if N is greater than one, on an (N−M)th intermediate device, in response to an (N−M)th tag allocation request, generating and forwarding to an (N−M+1)th intermediate device an (N−M+1)th tag allocation request including said logical group identifier, where M is initially equal to N−1; (c) if N is greater than one, repeating step (b) for each integral value of M between N−1 and zero, excluding N−1 and zero; and (d) on an Nth intermediate device, in response to an Nth tag allocation request, generating and forwarding to a second boundary device an (N+1)th tag allocation request including said logical group identifier, wherein tag values associated with said logical group identifier are allocated and transmitted between said devices in relation to number of tag allocation requests; and wherein said tag values are applied to establish a tagged virtual connection for transmitting end-user messages destined to one or more of a plurality of destination stations belonging to a logical group identified by said logical group identifier.
 2. The method according to claim 1, wherein each tag allocation request includes an identifier of one of said boundary devices.
 3. The method according to claim 1, wherein each tag allocation request includes a tag value and an identifier of one of said boundary devices as a related pair.
 4. The method according to claim 1, wherein each tag allocation request includes a destination device identifier.
 5. The method according to claim 1, wherein each tag allocation request includes a value and a destination device identifier as a related pair.
 6. The method according to claim 1, wherein each tag allocation request includes a source device identifier.
 7. The method according to claim 1, wherein each tag allocation request includes a tag value and a source device identifier as a related pair.
 8. The method according to claim 1, wherein said logical group identifier is a virtual network identifier.
 9. The method according to claim 1, wherein said devices are data communication switches.
 10. The method according to claim 1 wherein said tag values are applied by said devices to establish a tagged virtual connection for transmitting end-user messages originating from one or more of a plurality of source stations belonging to a logical group identified by said logical group identifier to one or more of a plurality of destination stations belonging to said logical group identified by said logical group identifier.
 11. A method for configuring a tagged virtual connection in a communication network, said virtual connection interconnecting a first boundary device with a second boundary device via N intermediate devices, where N is a positive integer, the method comprising: (a) on each of a first boundary device and N intermediate devices, determining an nth best path to a second boundary device for a plurality of logical groups, where n is a positive integer; (b) on said first boundary device, generating and forwarding to a first intermediate device on the nth best path for a first logical group from said first boundary device to said second boundary device a first tag allocation request; (c) if N is greater than one, on an (N−M)th intermediate device, in response to an (N−M)th tag allocation request, generating and forwarding to an (N−M+1)th intermediate device on the nth best path for said first logical group from said (N−M)th intermediate device to said second boundary device an (N−M+1)th tag allocation request, where M is initially equal to N−1; (d) if N is greater than one, repeating step (c) for each integral value of M between N−1 and zero, excluding N−1 and zero; and (e) on an Nth intermediate device, in response to an Nth tag allocation request, generating and forwarding to said second boundary device on the nth best path for said first logical group from said Nth intermediate device to said second boundary device, an (N+1)th tag allocation request.
 12. The method according to claim 11, wherein path cost information shared between neighboring ones of said boundary devices and/or intermediate devices is used in each best path determination.
 13. The method according to claim 11, where n is one.
 14. The method according to claim 11, where step (a) is performed with n equal to one and is repeated with n equal to two.
 15. The method according to claim 11, wherein n is two in one instance when one of steps (b), (c) or (e) is performed and is one in all other instances.
 16. The method according to claim 11, wherein n is either one or two in all instances when steps (b), (c) and (e) are performed, and may be either one or two in any particular instance when step (b), (c) or (e) is performed.
 17. The method according to claim 11, wherein said devices are data communication switches.
 18. A method for configuring a point-to-multipoint tagged virtual connection in a communication network, said virtual connection interconnecting a first boundary device with a set of second boundary devices on a plurality of different paths, wherein each path has N intermediate devices and wherein N is an integer whose value may differ between paths, the method comprising: (a) on a first boundary device, generating and forwarding to a set of intermediate devices on a set of paths between said first boundary device and a set of second boundary devices a set of tag allocation requests including a logical group identifier; (b) for each path in said set for which N is greater than one, on an (N−M)th intermediate device, in response to an (N−M)th tag allocation request, generating and forwarding to an (N−M)th intermediate device an (N−M+1)th tag allocation request including a logical group identifier, where M is initially equal to N−1; (c) for each path in said ser for which N is greater than one, repeating step (b) for each integral value of M between N−1 and zero, excluding N−1 and zero; and (d) for each path in said set, on an Nth intermediate device, in response to an Nth tag allocation request, generating and forwarding to said second boundary device an (N+1)th tag allocation request and said logical group identifier, wherein tag values associated with said logical group identifier are allocated and transmitted between said devices in relation to number of tag allocation requests; and wherein said tag values are applkied to establish a tagged virtual connection for transmitting end-user messages destined to a plurality of destination stations belonging to a logical group identified by said logical group identifier.
 19. The method according to claim 18, wherein said logical group identifier is a virtual group identifier.
 20. The method according to claim 18, wherein each tag allocation request includes the logical group identifier and an identifier of one of said boundary devices as a related pair.
 21. The method according to claim 18, wherein each tag allocation request includes the logical group identifier and a destination device identifier as a related pair.
 22. The method according to claim 18, wherein each tag allocation request includes the logical group identifier and a source device identifier as a related pair.
 23. The method according to claim 18, wherein the logical group identifier and path cost information shared between neighboring ones of said boundary devices and/or intermediate devices is used in each best path determination.
 24. The method according to claim 18 wherein said tag values are applied by said devices to establish a tagged virtual connection for transmitting end-user messages originating from one or more of a plurality of source stations belonging to a logical group identified by said logical group identifier to a plurality of destination stations belonging to said logical group identified by said logical group identifier.
 25. Method for forwarding an end-user message on a tagged virtual connection in a communication network, said virtual connection interconnecting a first boundary device with a second boundary device via N intermediate devices, where N is a positive integer, the method comprising: (a) on a first boundary device, receiving an end-user message; (b) on said first boundary device, associating said end-user message with a virtual network; (c) on said first boundary device, determining a first tag value for said end-user message in accordance with said virtual network; (d) on said first boundary device, encoding said end-user message with said first tag value and forwarding said end-user message to a first intermediate device; (e) if N is greater than one, on an (N−M)th intermediate device, in response to receiving said end-user message encoded with an (N−M)th tag value, encoding said end-user message with an (N−M+1)th tag value and forwarding said end-user message to an (N−M+1)th intermediate device, where M is initially equal to N×1; (f) if N is greater than one, repeating step (e) for each integral value of M between N−1 and zero, excluding N−1 and zero; and (g) on an Nth intermediate device, in response to receiving said end-user message encoded with an Nth tag value, encoding said end-user message with an (N+1)th tag value and forwarding said end-user message to a second boundary device.
 26. The method according to claim 25, wherein said devices are data communication switches.
 27. The method according to claim 25, wherein said virtual network is associated with a port on said first boundary device.
 28. A method for forwarding an end-user message on a tagged virtual connection in a communication network, said virtual connection interconnecting a first boundary device with a second boundary device via one or more intermediate devices, the method comprising: (a) receiving an end-user message on a first boundary device; (b) determining a tag value for said end-user message in accordance with information regarding the best path for a logical group from said first boundary device to a second boundary device under present network conditions, wherein the determination is made from among a plurality of different tag values associated with different paths for said logical group from said first boundary device to said second boundary device; (c) encoding said end-user message with said determined tag value; and (d) forwarding said end-user message from said first boundary device to a first intermediate device.
 29. The method according to claim 28, wherein said end-user message is associated with said logical group.
 30. The method according to claim 28, wherein said logical group is a virtual network.
 31. The method according to claim 28, wherein step (b) further comprises determining a forwarding port for said end-user message in accordance with information regarding the best path for said logical group from said first boundary device to said second boundary device under present network conditions, wherein the determination is made from among a plurality of different forwarding ports associated with different paths for said logical group from said first boundary device to said second boundary device.
 32. A method for configuring a tagged virtual connection in a communication network, said virtual connection interconnecting a first boundary device with a second boundary device via N intermediate devices, where N is a positive integer, the method comprising: (a) exchanging first tag allocation information including a first tag value and a logical group identifier between a first boundary device and a first intermediate device; (b) if N is greater than one, in response to the exchange of (N−M)th tag allocation information, exchanging (N−M+1)th tag allocation information including an (N−M+1)th tag value and said logical group identifier between an (N−M)th intermediate device and an (N−M+1)th intermediate device, where M is initially equal to N−1; (c) if N is greater than one, repeating step (b) for each integral value of M between N−1 and zero, excluding N−1 and zero; and (d) in response to the exchange of Nth tag allocation information, exchanging (N+1)th tag allocation information including an (N+1)th tag value and said logical group identifier between an Nth intermediate device and a second boundary device, wherein tag values associated with said logical group identifier are allocated and transmitted between said devices in relation to number of tag allocation requests; and wherein said tag values are applied to establish a tagged virtual connection for transmitting end-user messages destined to one or more of a plurality of destination stations belonging to a logical group identified by said logical group identifier.
 33. The method according to claim 32, wherein said logical group identifier includes a virtual network identifier.
 34. The method according to claim 32 wherein said tag values are applied by said devices to establish a tagged virtual connection for transmitting end-user messages originating from one or more of a plurality of source stations belonging to a logical group identified by said logical group identifier to one or more of a plurality of destination stations belonging to said logical group identified by said logical group identifier.
 35. A method for configuring a tagged virtual connection in a communication network, said virtual connection interconnecting a first boundary device with a second boundary device via N intermediate devices, where N is a positive integer, the method comprising: (a) on each of a first boundary device, determining an nth best path to a second boundary device for a plurality of logical groups, where n is a positive integer; (b) on said first boundary device, generating and forwarding to a first intermediate device on the nth best path for a first logical group a first tag allocation request; (c) if N is greater than one, on an (N−M)th intermediate device, in response to an (N−M)th tag allocation request, generating and forwarding to an (N−M+1)th intermediate device on the nth best path for said first logical group, an (N−M+1)th tag allocation request, where M is initially equal to N−1; (d) if N is greater than one, repeating step (c) for each integral value of M between N−1 and zero, excluding N−1 and zero; and (e) on an Nth intermediate device, in response to an Nth tag allocation request, generating and forwarding to said second boundary device on the nth best path for said first logical group, an (N+1)th tag allocation request.
 36. The method according to claim 35, wherein the logical group is a virtual network.
 37. The method according to claim 35, wherein path cost information shared between neighboring ones of said boundary devices and/or intermediate devices is used in each best path determination.
 38. The method according to claim 35, wherein n is one.
 39. The method according to claim 35, wherein step (a) is performed with n equal to one and is repeated with n equal to two.
 40. The method according to claim 35, wherein n is two in one instance when one of steps (b), (c) or (e) is performed and is one in all other instances.
 41. The method according to claim 35, wherein n is either one or two in all instances when steps (b), (c) and (e) are performed, and may be either one or two in any particular instance when step (b), (c) or (e) is performed.
 42. The method according to claim 35, wherein said devices are data communication switches. 